
// 全局的loading组件

import { Spin } from "antd"
import React from 'react'

export default function Loading(tips = "加载中...") {
    return (
        <div style={{ width: "100%", height: "100%", display: "flex", justifyContent: "center", alignItems: "center" }}>
            <Spin tip={tips}></Spin>
        </div>
    )
}
